<div class="container" ng-controller="templateCtrl" ng-init="init()">
    <div class="table-responsive">
        <table class="table table-hover table-striped">
            <caption style="text-align: center;"><h4>DSL 模板列表</h4></caption>
            <thead>
            <tr>
                <th class="col-md-1 text-center">序号</th>
                <th class="col-md-2 text-center">模板名称</th>
                <th class="col-md-2 text-center">模板参数</th>
                <th class="col-md-7 text-center">规则模板</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="_item in templateList">
                <td class="col-md-1 text-center"><span ng-bind="$index + 1"></span></td>
                <td class="col-md-2 text-center"><span ng-bind="_item.name"></span></td>
                <td class="col-md-2"><span ng-bind="_item.params"></span></td>
                <td class="col-md-7"><span ng-bind="_item.template"></span></td>
            </tr>
            </tbody>
        </table>
    </div>
</div>